#include <bits/stdc++.h>

using namespace std;

bool f() { int x = rand() % 2; cout << x << endl; return x; }

int main() {
    srand(time(nullptr));
    bool g = f() && f();
    //system("pause");
    return 0;
}
